<div class="content_filtro">
    
    <h2><?php echo $this->titulo;?></h2>
    
    <div class="filtro">
        <form id="form_filtro" method="post" action="">
            <i>Filtrar</i>
            
            <?php

            $f_cur = $this->db->fetchAll('SELECT SQL_CACHE CUR_ID, CUR_NOM FROM CURSO WHERE CUR_STA = 1 and CUR_ANO >= '.date('Y'));
            
            $html = '<select id="CUR_ID" name="CUR_ID" class="chosen-select" >';
            $html .= '<option value="">Todos Turmas</option>';
            foreach($f_cur as $r){   
                $html .= '<option '.$select.' value="'.$r['CUR_ID'].'">'.dominio::getTurma($r['CUR_ID']).'</option>'; // $r['CUR_NOM'] 
            }
            $html .= '</select>';
            echo $html;
            ?>
            
            <?php 
            $html = '<span id="cb_alunos"><select id="ALU_ID" name="ALU_ID" class="chosen-select" >';
            $html .= '<option value="">Todos Alunos</option>';
            foreach ($this->result as $r) {
                $html .= '<option '.$select.' value="'.$r['ALU_ID'].'">'.$r['ALU_NOM'].'</option>'; // $r['CUR_NOM'] 
            }
            $html .= '</select></span>';
            echo $html;
            ?>

            <input type="button" class="btn-pdr imprimir" name="imprimir" value="imprimir" />
        </form>
    </div>
    
</div>   